package kuang.springcloud;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;


//Ribbon 和Eureka 整合后，不用再关心IP地址了
@SpringBootApplication
@EnableEurekaClient
//@EnableFeignClients
@EnableFeignClients(basePackages = {"com.kuang.springcloud"})
@ComponentScan("com.kuang.springcloud")//扫描所有的东西
public class springcloud_consumer_feign_8100 {
/**
 * @description：TODO

 * @author     ：LK
 * @date       ：Created in 2021-10-26 19:49
 */
public static void main(String[] args) {
    SpringApplication.run(springcloud_consumer_feign_8100.class,args);
}
}
